<form class="form-horizontal" id="form-edit-sugar" action="">

    <div class="form-group">
        <label class="control-label col-xs-2">
            会员
        </label>
        <div class="col-xs-9">
            <input type="text" value="{$info.nick_name}-{$info.umobile}"  class="form-control" name="title" readonly>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-2">
            收货人姓名
        </label>
        <div class="col-xs-9">
            <input type="text" value="{$info.send_name}"  class="form-control" readonly>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-2">
            收货人联系电话
        </label>
        <div class="col-xs-9">
            <input type="text" value="{$info.send_mobile}"  class="form-control" readonly>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-2">
            收货地址
        </label>
        <div class="col-xs-9">
            <input type="text" value="{$info.send_address}"  class="form-control" readonly>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-2">
            快递公司
        </label>
        <div class="col-xs-9">
            <input type="text" placeholder="请输入快递公司名称" name="send_company"  class="form-control" >
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-2">
            快递单号
        </label>
        <div class="col-xs-9">
            <input type="text" placeholder="请输入快递单号" name="send_sn"  class="form-control" >
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-2">
            发货时间
        </label>
        <div class="col-xs-9">
            {include file="public/oneDateRangePicker" onepicker-name="send_time" /}
        </div>
    </div>

    <div class="form-group">
        <div class="col-xs-offset-2 col-xs-3">
            <button type="submit" class="btn btn-success btn-block">确认修改</button>
        </div>
    </div>
    <input type="hidden" value="{$info.id}" name="lid" class="form-control" >
</form>
<script src="__PUBLIC__/vendors/jquery.validation/jquery.validate.min.js"></script>
<script src="__PUBLIC__/vendors/jquery.validation/additional-methods.js"></script>
<script src="__PUBLIC__/vendors/jquery.validation/messages_zh.min.js"></script>
<script type="application/javascript">
    $(function () {
        $("#form-edit-sugar").validate({
            messages:
                {
                    send_company:"请输入快递公司名称",
                    send_sn:"请输入快递单号"
                },
            debug: true,
            submitHandler: function () {
                ajaxSubmit('form-edit-sugar', true);
            }
        });

    })
</script>
